#-------------------------------------------------
#
# Project created by QtCreator 2025-03-09T19:36:43
#
#-------------------------------------------------

QT       += core gui multimedia multimediawidgets

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = Intelligent
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

CONFIG += c++14

SOURCES += \
        main.cpp \
    contrl/mycontrol.cpp \
    model/basemodel.cpp \
    view/mainwidget.cpp \
    sqlite/singledb.cpp \
    data/user.cpp \
    model/usermodel.cpp \
    openview.cpp \
    openitem.cpp \
    view/manager.cpp \
    view/setwidget.cpp \
    ffmpeg/decodevideo.cpp \
    ffmpeg/encodevideo.cpp \
    view/loginwidget.cpp \
    view/videoselectwidget.cpp \
    view/picturewidget.cpp \
    model/videomodel.cpp \
    data/video.cpp \
    view/videoreolaywidget.cpp \
    view/photoviewwidget.cpp \
    model/imagemodel.cpp \
    data/image.cpp \
    golob.cpp \
    view/transcodewidget.cpp \
    view/logwidget.cpp \
    data/log.cpp \
    model/logmodel.cpp \
    data/logadduser.cpp \
    model/logaddusermodel.cpp \
    ffmpeg/transcodevideo.cpp \
    data/device.cpp \
    model/devicemodel.cpp

HEADERS += \
    contrl/mycontrol.h \
    model/basemodel.h \
    view/mainwidget.h \
    sqlite/singledb.h \
    sqlite/sqlite3.h \
    data/user.h \
    model/usermodel.h \
    openview.h \
    openitem.h \
    view/manager.h \
    view/setwidget.h \
    ffmpeg/decodevideo.h \
    ffmpeg/encodevideo.h \
    view/loginwidget.h \
    view/videoselectwidget.h \
    view/picturewidget.h \
    model/videomodel.h \
    data/video.h \
    view/videoreolaywidget.h \
    view/photoviewwidget.h \
    model/imagemodel.h \
    data/image.h \
    golob.h \
    view/transcodewidget.h \
    view/logwidget.h \
    data/log.h \
    model/logmodel.h \
    data/logadduser.h \
    model/logaddusermodel.h \
    ffmpeg/transcodevideo.h \
    data/device.h \
    model/devicemodel.h

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target




LIBS+=$$PWD/lib/sqlite3.lib
INCLUDEPATH+=$$PWD/ffmpeglib/include
LIBS+=$$PWD/ffmpeglib/lib/avcodec.lib \
      $$PWD/ffmpeglib/lib/avdevice.lib \
      $$PWD/ffmpeglib/lib/avfilter.lib \
      $$PWD/ffmpeglib/lib/avformat.lib \
      $$PWD/ffmpeglib/lib/avutil.lib \
      $$PWD/ffmpeglib/lib/postproc.lib \
      $$PWD/ffmpeglib/lib/swresample.lib \
      $$PWD/ffmpeglib/lib/swscale.lib
DESTDIR=bin
